package com.it.dao;

import com.it.domain.ListSong;
import com.it.domain.SongList;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

@Mapper
public interface ListSongMapper {


    int DeleteListSong(Integer songId, Integer songListId);


    int UpdateListSong(ListSong listsong);//修改


    int AddListSong(ListSong listsong);


    List<ListSong> SelectById(Integer songListId);


    List<ListSong> SelectAll();

    Integer GetSongTotal(Integer songListId);

    List<ListSong> SelectBySongListId(Integer songListId);
}
